Checks whether the technology exists in the
registrar.
Namespace:
Microsoft.ConfigurationManagement.ApplicationManagement
Assembly:
Microsoft.ConfigurationManagement.ApplicationManagement (in
Microsoft.ConfigurationManagement.ApplicationManagement.dll)
Usage
Visual Basic |
Dim technologyId As String
Dim returnValue As Boolean
returnValue = TechnologyBase(Of T).Contains(technologyId)
|
Syntax
Visual Basic |
<SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")> _
Public Shared Function Contains ( _
technologyId As String _
) As Boolean
|
C# |
[SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public static bool Contains (
string technologyId
)
|
C++ |
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1000:DoNotDeclareStaticMembersOnGenericTypes")]
public:
static bool Contains (
String^ technologyId
)
|
J# |
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes") */
public static boolean Contains (
String technologyId
)
|
JScript |
SuppressMessageAttribute("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes")
public static function Contains (
technologyId : String
) : boolean
|
Parameters
- technologyId
-
The technology identifier to check.
Return Value
Returns
Boolean. Returns true if the technology is
registered, false otherwise.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also